package com.leijie.io.decorator;

/**
 * @author LeiJie
 * @time 2020-5-8 14:51
 * @desc 医生 过滤流
 */
public class Doctor extends PersionDecor {

    Doctor(Persion persion) {
        super(persion);
    }

    @Override
    public void doSomeThing() {
        super.doSomeThing();
        doOtherSomeThing();
    }

    public void doOtherSomeThing(){
        System.out.print("医生>>>");
    }
}
